CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT(M3DGeometries)

FIND_PACKAGE(Qt4 REQUIRED)
INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})

FILE(
	GLOB_RECURSE
	sources_files
	Sources/*
)

INCLUDE_DIRECTORIES(
	./Headers
	../../GEN/GENErrors/Headers
)

LINK_DIRECTORIES(
	../../GEN/GENErrors
)

ADD_LIBRARY(
	M3DGeometries
	${sources_files}
)

TARGET_LINK_LIBRARIES(
	M3DGeometries
	${QT_LIBRARIES}
	GENErrors
)

